﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002DF RID: 735
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChooseBoxingClubStageOptionalBuffScRsp : IMessage<ChooseBoxingClubStageOptionalBuffScRsp>, IMessage, IEquatable<ChooseBoxingClubStageOptionalBuffScRsp>, IDeepCloneable<ChooseBoxingClubStageOptionalBuffScRsp>, IBufferMessage
	{
		// Token: 0x1700097E RID: 2430
		// (get) Token: 0x060020CC RID: 8396 RVA: 0x0005CD93 File Offset: 0x0005AF93
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChooseBoxingClubStageOptionalBuffScRsp> Parser
		{
			get
			{
				return ChooseBoxingClubStageOptionalBuffScRsp._parser;
			}
		}

		// Token: 0x1700097F RID: 2431
		// (get) Token: 0x060020CD RID: 8397 RVA: 0x0005CD9A File Offset: 0x0005AF9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChooseBoxingClubStageOptionalBuffScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000980 RID: 2432
		// (get) Token: 0x060020CE RID: 8398 RVA: 0x0005CDAC File Offset: 0x0005AFAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChooseBoxingClubStageOptionalBuffScRsp.Descriptor;
			}
		}

		// Token: 0x060020CF RID: 8399 RVA: 0x0005CDB3 File Offset: 0x0005AFB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChooseBoxingClubStageOptionalBuffScRsp()
		{
		}

		// Token: 0x060020D0 RID: 8400 RVA: 0x0005CDBC File Offset: 0x0005AFBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChooseBoxingClubStageOptionalBuffScRsp(ChooseBoxingClubStageOptionalBuffScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.aKFANIJHPCN_ = ((other.aKFANIJHPCN_ != null) ? other.aKFANIJHPCN_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060020D1 RID: 8401 RVA: 0x0005CE08 File Offset: 0x0005B008
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChooseBoxingClubStageOptionalBuffScRsp Clone()
		{
			return new ChooseBoxingClubStageOptionalBuffScRsp(this);
		}

		// Token: 0x17000981 RID: 2433
		// (get) Token: 0x060020D2 RID: 8402 RVA: 0x0005CE10 File Offset: 0x0005B010
		// (set) Token: 0x060020D3 RID: 8403 RVA: 0x0005CE18 File Offset: 0x0005B018
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000982 RID: 2434
		// (get) Token: 0x060020D4 RID: 8404 RVA: 0x0005CE21 File Offset: 0x0005B021
		// (set) Token: 0x060020D5 RID: 8405 RVA: 0x0005CE29 File Offset: 0x0005B029
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HKFBMLKMOMJ AKFANIJHPCN
		{
			get
			{
				return this.aKFANIJHPCN_;
			}
			set
			{
				this.aKFANIJHPCN_ = value;
			}
		}

		// Token: 0x060020D6 RID: 8406 RVA: 0x0005CE32 File Offset: 0x0005B032
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChooseBoxingClubStageOptionalBuffScRsp);
		}

		// Token: 0x060020D7 RID: 8407 RVA: 0x0005CE40 File Offset: 0x0005B040
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChooseBoxingClubStageOptionalBuffScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.AKFANIJHPCN, other.AKFANIJHPCN) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060020D8 RID: 8408 RVA: 0x0005CE90 File Offset: 0x0005B090
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.aKFANIJHPCN_ != null)
			{
				num ^= this.AKFANIJHPCN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060020D9 RID: 8409 RVA: 0x0005CEE5 File Offset: 0x0005B0E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060020DA RID: 8410 RVA: 0x0005CEED File Offset: 0x0005B0ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060020DB RID: 8411 RVA: 0x0005CEF8 File Offset: 0x0005B0F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			if (this.aKFANIJHPCN_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.AKFANIJHPCN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060020DC RID: 8412 RVA: 0x0005CF54 File Offset: 0x0005B154
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.aKFANIJHPCN_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AKFANIJHPCN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060020DD RID: 8413 RVA: 0x0005CFAC File Offset: 0x0005B1AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChooseBoxingClubStageOptionalBuffScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.aKFANIJHPCN_ != null)
			{
				if (this.aKFANIJHPCN_ == null)
				{
					this.AKFANIJHPCN = new HKFBMLKMOMJ();
				}
				this.AKFANIJHPCN.MergeFrom(other.AKFANIJHPCN);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060020DE RID: 8414 RVA: 0x0005D014 File Offset: 0x0005B214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060020DF RID: 8415 RVA: 0x0005D020 File Offset: 0x0005B220
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 74U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.aKFANIJHPCN_ == null)
						{
							this.AKFANIJHPCN = new HKFBMLKMOMJ();
						}
						input.ReadMessage(this.AKFANIJHPCN);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000D67 RID: 3431
		private static readonly MessageParser<ChooseBoxingClubStageOptionalBuffScRsp> _parser = new MessageParser<ChooseBoxingClubStageOptionalBuffScRsp>(() => new ChooseBoxingClubStageOptionalBuffScRsp());

		// Token: 0x04000D68 RID: 3432
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000D69 RID: 3433
		public const int RetcodeFieldNumber = 8;

		// Token: 0x04000D6A RID: 3434
		private uint retcode_;

		// Token: 0x04000D6B RID: 3435
		public const int AKFANIJHPCNFieldNumber = 9;

		// Token: 0x04000D6C RID: 3436
		private HKFBMLKMOMJ aKFANIJHPCN_;
	}
}
